package com.ce.pms.charge.model;

import com.sitechasia.webx.core.model.IDomainObject;
import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

@Entity
@Table(name="V_FEE_FOR_RECOUNT_LATEFEE_DETAIL")
public class FeeForRecountLateFeeDetail
  implements IDomainObject
{

  @Id
  @Column(name="LATEFEEDETAIL_DETAIL_ID")
  private Long latefeeDetailId;

  @Column(name="CHARGE_ACCOUNT_ID")
  private Long chargeAccountId;

  @Column(name="CHAREGE_ACCOUNT_BALANCE", precision=18, scale=2)
  private BigDecimal charegeAccountBalance = new BigDecimal(0D);

  @Column(name="MASTER_TRANSACTION_ID")
  private Long masterTranId;

  @Column(name="MASTER_TRANSACTION_BIZCODE_ID")
  private Long bizcodeId;

  @Column(name="MASTER_TRANSACTION_PERIOD")
  private String periodStr;

  @Column(name="LATEFEE_TRASNACTION_ID")
  private Long transactionId;

  @Column(name="LATEFEE_DEBIT")
  private BigDecimal debit = new BigDecimal(0D);

  @Column(name="LATEFEEDETAIL_BASEAMT")
  private BigDecimal baseAmt = new BigDecimal(0D);

  @Column(name="LATEFEEDETAIL_RATE")
  private BigDecimal rate = new BigDecimal(0D);

  @Column(name="LATEFEEDETAIL_STARTDATE")
  @Temporal(TemporalType.DATE)
  private Date startDate;

  @Column(name="LATEFEEDETAIL_ENDDATE")
  @Temporal(TemporalType.DATE)
  private Date endDate;

  @Column(name="LATEFEEDETAIL_LATEFEE")
  private BigDecimal latefee = new BigDecimal(0D);

  @Column(name="MASTER_TRANSACTION_STA_HIS_ID")
  private Long masterStaHisId;

  public Long getChargeAccountId()
  {
    return this.chargeAccountId;
  }

  public void setChargeAccountId(Long chargeAccountId)
  {
    this.chargeAccountId = chargeAccountId;
  }

  public BigDecimal getCharegeAccountBalance()
  {
    return this.charegeAccountBalance;
  }

  public void setCharegeAccountBalance(BigDecimal charegeAccountBalance)
  {
    this.charegeAccountBalance = charegeAccountBalance;
  }

  public Long getMasterTranId()
  {
    return this.masterTranId;
  }

  public void setMasterTranId(Long masterTranId)
  {
    this.masterTranId = masterTranId;
  }

  public Long getBizcodeId()
  {
    return this.bizcodeId;
  }

  public void setBizcodeId(Long bizcodeId)
  {
    this.bizcodeId = bizcodeId;
  }

  public String getPeriodStr()
  {
    return this.periodStr;
  }

  public void setPeriodStr(String periodStr)
  {
    this.periodStr = periodStr;
  }

  public Long getTransactionId()
  {
    return this.transactionId;
  }

  public void setTransactionId(Long transactionId)
  {
    this.transactionId = transactionId;
  }

  public BigDecimal getDebit()
  {
    return this.debit;
  }

  public void setDebit(BigDecimal debit)
  {
    this.debit = debit;
  }

  public BigDecimal getBaseAmt()
  {
    return this.baseAmt;
  }

  public void setBaseAmt(BigDecimal baseAmt)
  {
    this.baseAmt = baseAmt;
  }

  public BigDecimal getRate()
  {
    return this.rate;
  }

  public void setRate(BigDecimal rate)
  {
    this.rate = rate;
  }

  public Date getStartDate()
  {
    return this.startDate;
  }

  public void setStartDate(Date startDate)
  {
    this.startDate = startDate;
  }

  public Date getEndDate()
  {
    return this.endDate;
  }

  public void setEndDate(Date endDate)
  {
    this.endDate = endDate;
  }

  public BigDecimal getLatefee()
  {
    return this.latefee;
  }

  public void setLatefee(BigDecimal latefee)
  {
    this.latefee = latefee;
  }

  public Long getLatefeeDetailId()
  {
    return this.latefeeDetailId;
  }

  public void setLatefeeDetailId(Long latefeeDetailId)
  {
    this.latefeeDetailId = latefeeDetailId;
  }

  public Long getMasterStaHisId()
  {
    return this.masterStaHisId;
  }

  public void setMasterStaHisId(Long masterStaHisId)
  {
    this.masterStaHisId = masterStaHisId;
  }
}